package com.vinci.wishDemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.sql.Timestamp;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 心愿单表
 * </p>
 *
 * @author 郭三木
 * @since 2021-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbContentWishList对象", description="心愿单表")
public class TbContentWishList implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "心愿单id")
    @TableId(value = "wish_id", type = IdType.ID_WORKER)
    private String wishId;

    @ApiModelProperty(value = "标题/描述")
    private String wishDescribe;

    @ApiModelProperty(value = "状态(1:已达成，2等待达成)")
    private String wishStats;

    @ApiModelProperty(value = "赞总数量")
    private Integer fabulousSum;

    @ApiModelProperty(value = "回复人id")
    private String userId;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp replyTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "删除标识(0：未删除；1：删除)")
    private Integer delflag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)//自动填充
    private Timestamp updateTime;

//    @ApiModelProperty(value = "心愿状态")
//    private String dicName;

}
